<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<style>

</style>
<body>
    <div id="app">
        <p v-text="msg"></p>
        <p v-html="msg"></p>
    </div>
    <script src="./base/vue.js"></script>
    <script>
      
      //v-htmlヘv-text唯一的区别就是可以解析标签，慎用，性能耗费比v-text高
      
      var vm = new Vue({
          el:"#app",
          data:{
              msg:"<h3>我是h3</h3>"
          },
      })

      
 
    </script>
</body>
</html>